package com.igeek.javase.abstracts;

/**
 * @author chenmin
 * 2023/7/14 10:27
 * @description TODO
 */
public class Triangle extends Shape {

    public void work(){
        System.out.println("work~");
    }

    @Override
    public void draw() {
        System.out.println("画"+this.getName());
    }

    public Triangle() {
    }

    public Triangle(String name) {
        super(name);
    }
}
